from app.server.flask_app.model_views.CustomModelView import CustomModelView
from app.server.flask_app.model_views.mixins.AuthMixin import AuthMixin


class TaskModelView(AuthMixin, CustomModelView):

    column_searchable_list = [
        "type",
        "status",
        "count_done",
        "count_work",
        "time_interval",
        "last_used",
    ]
    column_editable_list = column_searchable_list
    column_filters = column_searchable_list
